package com.jingdianjichi.subject.infra.basic.entity;

import com.jingdianjichi.subject.common.entity.PageInfo;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

@Data
@Document(indexName = "subject_es_doc")
public class SubjectEsDoc{

    // 题目ID
    private Long subjectId;

    // 题目标题
    private String subjectName;

    // 题目答案
    private String subjectAnswer;

    // 逻辑删除
    private Integer isDeleted;

}
